package com.salemanagement.controller;

import com.salemanagement.service.VipService;
import com.salemanagement.vo.RechargeVo;
import com.three.core.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/saleManagement/vip")
public class VipController {
    
    @Autowired
    private VipService vipService;
    
    @PostMapping("/getRechargeNative")
    public R getRechargeNative(@RequestBody RechargeVo rechargeVo) {
        return vipService.getRechargeNative(rechargeVo);
    }
    
    @PostMapping("/queryPayStatus")
    public R queryPayStatus(@RequestBody RechargeVo rechargeVo) {
        return vipService.queryPayStatus(rechargeVo);
    }
} 